package com.io.dao;

import com.io.entity.tree.Tree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public interface TreeMapper {
    int deleteByPrimaryKey(Integer sid);

    int insert(Tree record);

    int insertSelective(Tree record);

    Tree selectByPrimaryKey(Integer sid);

    int updateByPrimaryKeySelective(Tree record);

    int updateByPrimaryKey(Tree record);

    List<Tree> getAllWsAppList(@Param("parentId") Integer parentId);
}
